package com.jiedeng.dao;

import com.jiedeng.model.Position;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author 覃远龙
 * @ClassName: IPositionRepository
 * @Description:
 * @date 2017/5/3 9:59
 */
public interface IPositionRepository extends JpaRepository<Position, Long> {
    List<Position> findByParent(long parent);
}
